﻿using Refit;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HECore.Basics.Share
{
    /// <summary>
    /// 邮件服务
    /// </summary>
    public interface IEmailService
    {
        /// <summary>
        /// 发送
        /// </summary>
        /// <param name="email"></param>
        /// <returns></returns>
        [Post("/api/email/send")]
        Task<Guid> Send(string email);
    }
}
